package com.sprouting.ops.model.bo;

import com.sprouting.ops.annotations.invoke.CheckIsNullOrEmpty;
import com.sprouting.ops.annotations.invoke.CheckNotNull;
import com.sprouting.ops.interfaces.AddGroup;
import com.sprouting.ops.interfaces.UpdGroup;
import com.sprouting.ops.model.OpsSite;
import lombok.Data;

/**
 * 场所网络
 *
 * @author ：LX（长沙麓谷）
 * @date 创建时间： 2025/8/12 21:02
 */
@Data
public class OpsSiteNetworkBo {

    /**
     * 主键
     */
    @CheckNotNull(message = "非法ID", groups = UpdGroup.class)
    @CheckIsNullOrEmpty(message = "无效ID", groups = AddGroup.class)
    private String id;
    /**
     * 现场id
     * @see OpsSite#getId()
     */
    @CheckNotNull(message = "请选择现场")
    private String siteId;
    /**
     * 流程名
     */
    private String name;
    /**
     * 流程图
     */
    private String flowChart;
}
